import request from "@/utils/request";

/**
 * 获取地区信息
 * @param query
 * @returns {*}
 */
export function getAreaList(query) {
    return request({
        url: "/heart/Area/list",
        method: "get",
        params: query,
    });
}
/**
 * 新增地区
 * @param query
 * @returns {*}
 */
export function addArea(data) {
    return request({
        url: "/heart/Area",
        method: "post",
        data,
    });
}
